WC_Braintree\Apple_Pay\Frontend S

Total Complexity 29
Dependencies 3
Dependents 1
Total lines 186
Lines of code 82
Logical lines of code 52
Comment lines 63
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
render_button()
A
47 9 35
is_tokenization_forced()
S
60 8 13
should_init_on_product_page()
S
71 3 6
should_init_on_cart_page()
S
71 3 6
should_init_on_checkout_page()
S
71 3 6
get_js_handler_class_name()
S
82 1 3
enqueue_scripts()
S
68 1 6
get_js_handler_args()
S
67 1 7